package  com.pcbly.web.business.publicinfo;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.publicinfo.MessageReceiverBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface MessageReceiverService extends BaseService<MessageReceiverBean> {

	MessageReceiverBean getMessageReceiverBeanById(String id) throws Exception;
	
	void removeMessageReceiverBeanById(String id) throws Exception;
	
	void removeMessageReceiverBeanByIds(String ids) throws Exception;
	
	MessageReceiverBean saveMessageReceiverBean(MessageReceiverBean publicinfo) throws Exception;
	
	MessageReceiverBean updateMessageReceiverBean(MessageReceiverBean publicinfo) throws Exception;
	
	Page<MessageReceiverBean>  findMessageReceiverBeanByCond(MessageReceiverBean bean,
			Page<MessageReceiverBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveMessageReceiverBeanExt(String sql) throws Exception;

	String findMessageReceiverBeanExtCreate(String tableName) throws Exception;

	String findMessageReceiverBeanExtEdit(String tableName, String id)
			throws Exception;

	String findMessageReceiverBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasMessageReceiverBeanExtData(String tableName, String id)
			throws Exception;
}